/*
 * $Id: ByTitleComparator.java 15 2013-05-16 05:43:09Z antonyhands@gmail.com $
 */
package ru.olympus.antonyhands.ao.data.util;

import java.util.Comparator;

import ru.olympus.antonyhands.ao.data.entities.AOItemBase;

/**
 * @author AntonyHands
 * @since 14.02.2012
 */
public class ByTitleComparator implements Comparator<AOItemBase>
{

    @Override
    public int compare(AOItemBase arg0, AOItemBase arg1)
    {
        return arg0.getTitle().compareTo(arg1.getTitle());
    }

}